home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / sox / com / commerceone / CBL / n1_0 / PartTreeNode.mod < prev    next >
Encoding:
Extensible Markup Language  |  2000-07-03  |  2.2 KB  |  68 lines  |  [STrk/SCPL]

  1. <?xml version="1.0"?>
  2. <!DOCTYPE schema SYSTEM "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
  3.  
  4. <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0" >
  5.  
  6. <intro>
  7. <p>Copyright Notice</p>
  8. <p>Common Business Library 2.0<br/>
  9. Copyright 1999 Commerce One, Inc.</p>
  10. <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
  11. and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
  12. and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p> 
  13. </intro>
  14.     <!-- 
  15.         PartTreeNode describes a part in relation to a hierarchy of
  16.         parts.  This part can be designated as either the parent or
  17.         child of other parts.  In addition the quantity of this part
  18.         that is contained in a parent can be specified.
  19.      -->
  20.  
  21.     <elementtype name="PartTreeNode">
  22.         <model>
  23.             <sequence>
  24.  
  25.                 
  26.                 <!--  The Part we are a child or parent of. / -->
  27.                 <element type="PartNum" />
  28.                 
  29.                 <!--  Quantity information related to this part.
  30.                     The most common type of quantity in a hierarchy is
  31.                     the quantity of this part contained by the parent.
  32.                     This can be specified with the "UnitsInParent"
  33.                     qualifier in the Quantity element. / --> 
  34.                 <element type="ListOfQuantity" occurs="?" />
  35.                 
  36.                 <!--  Technical attributes of the hierarchy. / -->            
  37.                 <element type="ListOfProdAttribute" occurs="?" />                                                 
  38.             </sequence>
  39.         </model>
  40.         
  41.         <!--  Determines whether this node is a parent of
  42.             or child of the PartNum.  Specify Parent if this
  43.             part is a parent of PartNum, and Child if it is
  44.             a Child of PartNum.  / -->
  45.         <attdef datatype="ParentChild" name="Relation" >
  46.             <required/>
  47.         </attdef>
  48.     
  49.     </elementtype>
  50.  
  51.     <!--  Specification of a parent or child relationship. / -->
  52.     <datatype name="ParentChild">
  53.         <enumeration datatype="NMTOKEN">
  54.             <option>ParentOf</option>
  55.             <option>ChildOf</option>
  56.         </enumeration>
  57.     </datatype>
  58.     
  59.     <!--  A container for a list of one or more PartTreeNode / -->
  60.     <elementtype name="ListOfPartTreeNode">
  61.         <model>
  62.             <element type="PartTreeNode" occurs="+" />
  63.         </model>
  64.     </elementtype>
  65.     
  66.  
  67. </schema>
  68.